package com.fjec.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjec.user.entity.SysUser;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 002.用户表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-08-31
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 根据appType及openId获取用户信息
     *
     * @param userAppId
     * @param appType
     * @return
     */
    SysUser getSysUserByUserAppId(@Param("userAppId") String userAppId,
                               @Param("appType") Integer appType);
}
